package com.maolong.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.maolong.entity.enumm.IdentityEnum;
import com.maolong.entity.enumm.SexEnum;
import lombok.Data;



@Data
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private SexEnum sex;
    private String address;
    private String phone;
    private String password;
//    @TableField(select = false)
    private IdentityEnum identify;
    @TableLogic
    private Integer deleted;
}
